flowchart TB
  A([Start])
  B(Enter LoginPage)
  C(device is jailbroken?)
  D(Prompt error message <br/>then quit app)
  E{User input can input <br> username and password}
  F(username and password <br> validation failed)
  G{user is first time login?}
  H{is online?}
  I(show activation message)

  A([Start])-->B-->C
  C--true--->D
  C--false--->E
  E--false--->F
  F--true--->G
  G--true--->I
  I-->H
  